package com.gbx.qiushibaike.callback;

import com.gbx.qiushibaike.entity.Entity;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;
import retrofit2.http.Query;

/**
 * Created by Administrator on 2016/11/25.
 */
public interface HttpService {
    @GET("article/list/{type}")
    Call<Entity>getList(@Path("type") String type, @Query("page") int page);
}
